#ifndef SPECIALROOM_HH
#define SPECIALROOM_HH

#include "Room.hh"
#include "Character.hh"

class SpecialRoom : public Room {
private:
    int effect; // Positive for healing, negative for damage

public:
    SpecialRoom(const std::string& description, int effect);
    ~SpecialRoom();
    SpecialRoom(const SpecialRoom& other); // Copy constructor
    SpecialRoom& operator=(const SpecialRoom& other); // Copy assignment operator
    void applyEffect(Character& character) const;
    void display() const;
};

#endif // SPECIALROOM_HH